package zad1;

public class Producer extends Workers {

	public Producer() {
		super("produce");
	}

	@Override
	public String consume(String data) {
		System.out.println(getWorkId() + " consuming: " + data);
		return "produce ";
	}
	
	@Override
	public String getWorkId() {
		return null;
	}

}
